﻿/*
 * Author: Zep Mouris / Wouter Langerak
 * 
 * Description: Base class for Vision Algorithms
 * */

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;

namespace LibraryCS {
    public abstract class VisionAlgorithm {
        private String _Name;

        public String Name {
            get {
                return _Name;
            }
            set {
                _Name = Name;
            }
        }

        public VisionAlgorithm(String name) {
            this._Name = name;
        }

        public abstract Bitmap DoAlgorithm(Bitmap sourceImage);

        public virtual SettingsPropertyBox createControls() { return new SettingsPropertyBox(); }
        public virtual void setSettings(List<object> settings) { }
    }

}
